<?php
namespace libs\qoy\Exception;
/**
 * 
 * 客户端非法请求
 * @author qoyf <qoyf@vip.qq.com>
 */

class CodeErrotException extends \Exception {

    public function __construct($code = 0) {
//        parent::__construct(
//            T('Bad Request: {message}', array('message' => $message)),  $code
//        );
        
        parent::__construct(
            "请求错误",  $code
        );
    }
}
